var express = require('express');
var router = express.Router();
var user = require('../controller/userController')

router.get('/list', user.list.bind(user));
// /api/user/signin
router.post('/signin', user.signin.bind(user))

router.post('/login', user.login.bind(user))

router.get('/logout', user.logout)

router.get('/islogin', user.islogin)

router.post('/del', user.del)

module.exports = router;
